home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10519 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  942 b 

  1. Path: news1.cle.ab.com!usenet
  2. From: don.phillips@ab.com (Donald-Anthony C. Phillips)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Novice itoa question
  5. Date: Mon, 18 Mar 1996 17:30:29 GMT
  6. Organization: The Allen-Bradley Co., Inc
  7. Distribution: inet
  8. Message-ID: <4ijrq9$76c@news1.cle.ab.com>
  9. References: <314c4f44.14893140@news.exis.net>
  10. NNTP-Posting-Host: abpc386.cle.ab.com
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. herborn@exis.net (Steve Herborn) wrote:
  14.  
  15. >Is there a way to convert an entire integer array to an ASCII string
  16. >arrray?
  17.  
  18. >convert integer_array[3][11] to  char_array[3][?]
  19.  
  20. >The largest number in the integer array being 999.  
  21.  
  22. >TIA
  23.  
  24. >Steve
  25.  
  26. You could loop through and convert each integer in array location
  27. integer[i]   to the  char array location character[i]  (use spintf??).
  28.  
  29. Donald-Anthony C. Phillips
  30. Programmer/Analyst
  31.  Rockwell  Automation
  32.        ---------------------------------------
  33.         Allen-Bradley
  34. don.phillips@ab.com
  35.  
  36.